
//
// Created on 2025/1/23.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef UVCCAMERA_CAMERA_CONSTANTS_H
#define UVCCAMERA_CAMERA_CONSTANTS_H

// 支持的预览参数类型
#define CAMERA_PARAMETER_PREVIEW_SIZE 0
#define CAMERA_PARAMETER_DISPLAY_TRANSFORM 1
#define CAMERA_PARAMETER_AUTO_EXPOSURE  2
#define CAMERA_PARAMETER_EXPOSURE  3
#define CAMERA_PARAMETER_BRIGHTNESS  4
#define CAMERA_PARAMETER_CONTRAST  5
#define CAMERA_PARAMETER_GAIN  6
#define CAMERA_PARAMETER_SATURATION  7
#define CAMERA_PARAMETER_ZOOM  8



#define VIDEO_FORMAT_YUY2  0
#define VIDEO_FORMAT_NV12  1
#define VIDEO_FORMAT_NV21  2
#define VIDEO_FORMAT_MJPEG  3
#define VIDEO_FORMAT_JPEG  4
#define VIDEO_FORMAT_RGB24  5
#define VIDEO_FORMAT_BGR24  6
#endif // UVCCAMERA_CAMERA_CONSTANTS_H
